public class Bird extends Animal implements IFly{
    public Bird(String name,int age){
        super(name,age);
    }
    public void eat(){
        System.out.println(this.name+"在吃鸟粮");
    }
    public void fly(){
        System.out.println(this.name+"在飞");
    }
}
